/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */
package org.jaxson.examples;

import org.jaxson.struts.reverseAjax.ReverseAjaxEvent;

/**
 * @author Joe Maisel
 *
 */
public class HelloWorldModel extends ReverseAjaxEvent
{
	private String message = "Hello From";
	private String origin;
	
	public static final String EVENT_NAME = HelloWorldModel.class.getName();
	
	public HelloWorldModel()
	{
		setName( EVENT_NAME );
	}

	/**
	 * @return the message
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage( String message )
	{
		this.message = message;
	}

	/**
	 * @return the origin
	 */
	public String getOrigin()
	{
		return origin;
	}

	/**
	 * @param origin the origin to set
	 */
	public void setOrigin( String origin )
	{
		this.origin = origin;
	}

	private static final long serialVersionUID = 6280768144498556421L;
}
